package com.jf3q.common.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jf3q.common.domain.EduOrder;
import com.jf3q.common.service.EduOrderService;
import com.jf3q.common.mapper.EduOrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 李天琪
* @description 针对表【edu_order(订单)】的数据库操作Service实现
* @createDate 2024-06-06 13:51:31
*/
@Service
public class EduOrderServiceImpl extends ServiceImpl<EduOrderMapper, EduOrder>
    implements EduOrderService{

    @Autowired
    EduOrderMapper orderMapper;
    @Override
    public EduOrder selectdindan(String courseId) {
        return orderMapper.selectdindan(courseId);
    }

    @Override
    public void insert(EduOrder orders) {
        orderMapper.insert(orders);
    }

    @Override
    public EduOrder selectOrder(String courseId) {
        return orderMapper.selectOrder(courseId);
    }

    @Override
    public EduOrder selectById(String memberId) {
        return orderMapper.selectById(memberId);
    }
}




